package cn.appsys.dao.appVersionDao;

import cn.appsys.pojo.AppVersion;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AppVersionMapper {

    //查询app的历史版本信息
    public List<AppVersion> getAppVersionList(@Param("appId")Integer appId) throws Exception;

    //根据id删除app版本信息
    public int deleteVersionByAppId(@Param("appId")Integer appId)throws Exception;


    public int modify(AppVersion appVersion)throws Exception;



    public AppVersion getAppVersionById(@Param("id") Integer id)throws Exception;

    public int deleteApkFile(@Param("id") Integer id)throws Exception;
}
